feat: add linear graph view with ideal usage pace indicator#19
feat: add linear graph view with ideal usage pace indicator#19yenpvn wants to merge 4 commits intof-is-h:mainfrom
Conversation
- Add GraphDisplayType enum with circular/linear cases - Add graphDisplayType @published property to UserSettings - Add localization strings for all 5 languages - Foundation for Phase 2-5 of linear usage graph feature
- Add LinearUsageGraphView component with ideal pace reference line - Add graph style picker in GeneralSettingsView - Add localization strings for graph style settings - Refactor UsageDetailView to support both circular and linear graphs - Update gitignore to exclude Claude files
- Widen graph (262x100pt) to fill container width - Remove center "Proj: XX%" metrics overlay - Add percentage labels directly at each data dot - Add boundary checks to prevent label clipping at edges - Change empty state to rounded rectangle (matches rectangular graph)
…ggested commands documentation
|
+1, this would be useful to me! Having it be optional is great for users who aren't pushing the limits of their plan and/or who don't want the extra info. I also quite like the UI choice -- it's a clean display that adds quite a bit of new useful info (pace/trajectory plus current actual % value), and does so without adding clutter or ambiguity. I'd definitely really like to see this merged! |
|
Hi, thanks for working on this! The linear graph idea is interesting. A few things to clean up:
Also, since it's been a while, you may need to rebase onto the latest main to resolve any conflicts. Thanks! |
Summary
Add configurable graph display modes (circular/linear) with pace guidance to help users optimize their Claude usage rate and stay within session limits.
Changes
GraphDisplayTypeenum with circular and linear options for usage graph displaygraphDisplayTypesetting toUserSettingswith persistence supportTest plan